package operators;

import java.util.Scanner;

public class Exercise9 {

	/**
	 * Transform Celsius degrees input to Farenheit
	 * @param args
	 */
	
	public static String readName(){
		Scanner sc = new Scanner(System.in);
		System.out.println("Enter temperature in Celsius: ");
		String c = sc.nextLine();
		return c;
		}
	
	public static void main(String[] args) {
		// variable declaration
		double c, f;		
		
		// read c value
		System.out.println("Enter temperature in Celsius: ");
		Scanner sc = new Scanner(System.in);
		c = sc.nextDouble();
		
		// calculate f
		f = ((c / 5) * 9) + 32;		
		
		// show result		
		System.out.println(c + " Celsius degrees are " + f + " Farenheit degrees");
		
	}

}
